<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="common/jsptag.jsp"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="keywords" content="${systemParamMap["sitekey"].paramValue}" />
    <meta name="description" content="${systemParamMap["sitedesc"].paramValue}" />
    <meta name="author" content="${systemParamMap["siteauthor"].paramValue}" />
    <title>${systemParamMap["sitetitle"].paramValue}</title>
    <link rel="ShortcutIcon" href="favicon.ico" type="image/x-icon" />
    <link rel="Bookmark" href="favicon.ico" />
    <link href="<%=request.getContextPath() %>/css/main.css" rel="stylesheet" type="text/css" />
    <link href="<%=request.getContextPath() %>/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <script src="<%=request.getContextPath() %>/js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="<%=request.getContextPath() %>/js/common.js" type="text/javascript"></script>
    <script src="<%=request.getContextPath() %>/js/main.js" type="text/javascript"></script>
    <script src="<%=request.getContextPath() %>/js/homePage.js" type="text/javascript"></script>
    <script src="<%=request.getContextPath() %>/js/jquery.autocomplete.min.js" type="text/javascript"></script>
</head>
<body>
    <div class="slideBg"></div>

	<div id="main">

        <!-- 页眉 -->
        <jsp:include page="header.jsp"></jsp:include>

        <!-- 页面主体 -->
        <div class="main">

            <!-- 主体左栏 -->
            <div class="w700 fl">

                <!-- 电影轮播 -->
                <div class="nav_box mb10">
                    <div class="lunzhuan_box">
                        <div id="adBox">
                            <div id="adLeftContent1">
                                <div class="black_bg"></div>
                                <ul class="ad_left_items1">
                                <c:forEach items="${slideFilmList}" var="slideFilm" begin="0" varStatus="slide">
                                    <li class="ad_normal" index="${slide.index}">
                                        <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${slideFilm.filmId}';">
                                            <img src="${slideFilm.minPicPath}" width="120" height="50">
                                        </a>
                                    </li>
                                </c:forEach>
                                </ul>
                            </div>slideFilm
                            <div id="adRightImage1" style="margin-top: -284px; ">
                                <ul class="ad_right_items">
                                <c:forEach items="${slideFilmList}" var="slideFilm" begin="0" varStatus="slide">
                                    <li>
                                        <!--
                                        <div style="position: absolute;">
                                            <span class="focusico"></span>
                                            ${slideFilm.film.filmName}
                                        </div>
                                        -->
                                        <a href="/page/playFilm.html?filmId=${slideFilm.filmId}">
                                            <img src="${slideFilm.picturePath}" width="700" height="284">
                                        </a>
                                    </li>
                                </c:forEach>
                                </ul>
                            </div>
                            <script>
                                var autoAction = "autoSwitch('adLeftContent1','adRightImage1')";
                                setInterval(autoAction,4000);
                                switchAd("adLeftContent1","adRightImage1");
                            </script>
                        </div>
                    </div>
                </div>

                <!-- 院线大片 -->
                <div class="nav_box mb10">
                    <div class="nav_box2_t">
                        <div class="nav2_t_m">
                            <div class="nav_title1">
                                <span class="fr">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&level=1';">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                                <font class="fot2">院线大片</font>
                            </div>
                        </div>
                        <div class="nav2_t_l"></div>
                        <div class="nav2_t_r"></div>
                    </div>

                    <div class="nav_box9_m">
                        <div class="video_box1">
                            <ul>
                                <c:forEach var="film" items="${hotFilmList}">
                                    <li>
                                        <div class="img_box">
                                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                                <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                            </a>
                                        </div>
                                        <h3 class="title_h3">
                                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                                ${film.filmName}
                                            </a>
                                        </h3>
                                    </li>
                                </c:forEach>
                            </ul>

                            <div class="nofloat"></div>
                        </div>
                    </div>

                    <div class="nav_box2_b">
                        <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                        <div class="nav2_b_l"></div>
                        <div class="nav2_b_r"></div>
                    </div>
                </div>

                <!-- 最新电影更新,最新电视剧更新,最新综艺更新,最新动漫更新 -->
                <div class="nav_box">
                <div class="nav_box2_t">
                    <div class="nav2_t_m">
                        <div class="nav_title1">
                                <span class="fr">
                                    <a id="con_time_link" href="/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                            <div class="tab_box">
                                <p id="time1" onclick="setTab('time',1,10)" class="hover"><span>最新电影更新</span></p>
                                <p id="time2" onclick="setTab('time',2,10)"><span>最新电视剧更新</span></p>
                                <p id="time3" onclick="setTab('time',3,10)"><span>最新综艺更新</span></p>
                                <p id="time4" onclick="setTab('time',4,10)"><span>最新动漫更新</span></p>
                            </div>
                        </div>
                    </div>
                    <div class="nav2_t_l"></div>
                    <div class="nav2_t_r"></div>
                </div>

                <div class="nav_box2_m">
                <div class="video_box1" id="con_time_1" style="display:block">
                    <ul>
                        <c:forEach var="film" items="${newUpdFilmList}">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_time_2" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${newUpdTVList}">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                    <c:if test="${fn:length(film.filmPathList) > 3 || film.type == 2 || film.type == 3}">
                                        <c:set var="filmpath" value="${film.filmPathList[fn:length(film.filmPathList) - 1]}"/>
                                        <c:choose>
                                            <c:when test="${filmpath.labelTitle != null && filmpath.labelTitle != ''}">
                                                <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                            </c:when>
                                            <c:otherwise>
                                                <c:set var="playnumber" value="第${film.filmPathList[fn:length(film.filmPathList) - 1].orderNum + 1}集"/>
                                            </c:otherwise>
                                        </c:choose>
                                        <span>更新至${playnumber}</span>
                                    </c:if>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">${film.filmName}</a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_time_3" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${newUpdVarietyList}">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                    <c:if test="${fn:length(film.filmPathList) > 3 || film.type == 2 || film.type == 3}">
                                        <c:set var="filmpath" value="${film.filmPathList[fn:length(film.filmPathList) - 1]}"/>
                                        <c:choose>
                                            <c:when test="${filmpath.labelTitle != null && filmpath.labelTitle != ''}">
                                                <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                            </c:when>
                                            <c:otherwise>
                                                <c:set var="playnumber" value="第${film.filmPathList[fn:length(film.filmPathList) - 1].orderNum + 1}集"/>
                                            </c:otherwise>
                                        </c:choose>
                                        <span>更新至${playnumber}</span>
                                    </c:if>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">${film.filmName}</a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_time_4" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${newUpdCartoonList}">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                    <c:if test="${fn:length(film.filmPathList) > 3 || film.type == 2 || film.type == 3}">
                                        <c:set var="filmpath" value="${film.filmPathList[fn:length(film.filmPathList) - 1]}"/>
                                        <c:choose>
                                            <c:when test="${filmpath.labelTitle != null && filmpath.labelTitle != ''}">
                                                <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                            </c:when>
                                            <c:otherwise>
                                                <c:set var="playnumber" value="第${film.filmPathList[fn:length(film.filmPathList) - 1].orderNum + 1}集"/>
                                            </c:otherwise>
                                        </c:choose>
                                        <span>更新至${playnumber}</span>
                                    </c:if>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">${film.filmName}</a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                </div>

                <div class="nav_box2_b">
                    <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                    <div class="nav2_b_l"></div>
                    <div class="nav2_b_r"></div>
                </div>
                </div>

                <!-- 动作片,喜剧片,爱情片,科幻片 -->
                <div class="nav_box mb10">
                <div class="nav_box2_t">
                    <div class="nav2_t_m">
                        <div class="nav_title1">
                                <span class="fr">
                                    <a id="con_one_link" href="/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=1">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                            <div class="tab_box">
                                <p id="one1" onclick="setTab('one',1,10)" class="hover"><span>动作片</span></p>
                                <p id="one2" onclick="setTab('one',2,10)"><span>喜剧片</span></p>
                                <p id="one3" onclick="setTab('one',3,10)"><span>爱情片</span></p>
                                <p id="one4" onclick="setTab('one',4,10)"><span>科幻片</span></p>
                                <p id="one5" onclick="setTab('one',5,10)"><span>灾难片</span></p>
                                <p id="one6" onclick="setTab('one',6,10)"><span>惊悚片</span></p>
                                <p id="one7" onclick="setTab('one',7,10)"><span>悬疑片</span></p>
                                <p id="one8" onclick="setTab('one',8,10)"><span>纪录片</span></p>
                                <p id="one9" onclick="setTab('one',9,10)"><span>战争片</span></p>
                                <p id="one10" onclick="setTab('one',10,10)"><span>剧情片</span></p>
                            </div>
                        </div>
                    </div>
                    <div class="nav2_t_l"></div>
                    <div class="nav2_t_r"></div>
                </div>

                <div class="nav_box2_m">
                <div class="video_box1" id="con_one_1" style="display:block">
                    <ul>
                        <c:forEach var="film" items="${actionFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_2" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${comedyFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_3" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${loveyFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_4" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${scienceFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_5" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${disasterFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_6" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${thrillerFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_7" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${suspenseFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_8" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${documentaryFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_9" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${warFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>

                <div class="video_box1" id="con_one_10" style="display:none">
                    <ul>
                        <c:forEach var="film" items="${dramaFilmList}" end="9">
                            <li>
                                <div class="img_box">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                        <img src="${film.imagePath}" width="120" height="170" class="img_bod" />
                                    </a>
                                </div>
                                <h3 class="title_h3">
                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                            ${film.filmName}
                                    </a>
                                </h3>
                            </li>
                        </c:forEach>
                    </ul>

                    <div class="nofloat"></div>
                </div>
                </div>

                <div class="nav_box2_b">
                    <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                    <div class="nav2_b_l"></div>
                    <div class="nav2_b_r"></div>
                </div>
                </div>


                <div class="nav_box mb10">
                    <div class="w345 fl">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m">
                                    <div class="nav_title1">
                                        <span class="fr">
                                            <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=1';">
                                                <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                            </a>
                                        </span>
                                        <font class="fot2">动作片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${actionFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="w345 fr">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m">
                                    <div class="nav_title1">
                                   <span class="fr">
                                    <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=2';">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                                        <font class="fot2">喜剧片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${comedyFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="nofloat"></div>
                </div>

                <!-- 爱情片,科幻片 -->
                <div class="nav_box mb10">
                    <div class="w345 fl">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m">
                                    <div class="nav_title1">
                                    <span class="fr">
                                    <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=3';">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                                        <font class="fot2">爱情片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${loveyFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="w345 fr">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m"><div class="nav_title1">
                                    <span class="fr">
                                        <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=6';">
                                            <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                        </a>
                                    </span>
                                        <font class="fot2">科幻片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${scienceFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="nofloat"></div>
                </div>

                <!-- 战争片,剧情片 -->
                <div class="nav_box mb10">
                    <div class="w345 fl">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m">
                                    <div class="nav_title1">
                                    <span class="fr">
                                    <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=9';">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                                        <font class="fot2">战争片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${warFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="w345 fr">
                        <div class="nav_box">
                            <div class="nav_box2_t">
                                <div class="nav2_t_m">
                                    <div class="nav_title1">
                                   <span class="fr">
                                    <a href="javascript:void(0);" onclick="location.href='/page/filmListByCondition.html?page=1&sortColumn=createtime&type=1&filmTypeId=12';">
                                        <img src="<%=request.getContextPath() %>/images/more.gif" width="44" height="13" class="icon_rss" />
                                    </a>
                                </span>
                                        <font class="fot2">剧情片</font>
                                    </div>
                                </div>
                                <div class="nav2_t_l"></div>
                                <div class="nav2_t_r"></div>
                            </div>

                            <div class="nav_box2_m">
                                <div class="news_box news1">
                                    <ul>
                                        <c:forEach var="film" items="${dramaFilmList}" begin="10">
                                            <li>
                                                <span class="sp1">
                                                    <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';"
                                                       title="${film.filmName}">
                                                            ${film.filmName}
                                                    </a>
                                                </span>
                                                <span class="sp2">${film.playNum}</span>
                                            </li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>

                            <div class="nav_box2_b">
                                <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                                <div class="nav2_b_l"></div>
                                <div class="nav2_b_r"></div>
                            </div>
                        </div>
                    </div>

                    <div class="nofloat"></div>
                </div>

            </div>

            <!-- 主体右栏 -->
            <div class="w290 fr">

                <div class="noticead">
                    <ul class="nav">
                        <li class="selected"><a href="#tab-1">电影排行</a></li>
                        <li class=""><a href="#tab-2">动漫排行</a></li>
                        <li class=""><a href="#tab-3">电视排行</a></li>
                        <li class=""><a href="#tab-4">综艺排行</a></li>
                    </ul>
                    <div class="tab-content" id="tab-1" style="display: block;">
                        <ul>
                            <c:forEach items="${playNumFlims}" var="film" begin="0" varStatus="filmIndex">
                                <li>
                                    <img src="/images/nub_${filmIndex.index + 1}.gif"/><span class="sp1">
                                    <a title="${film.filmName}" href="javascript:void(0);"
                                       onclick="location.href='/page/playFilm.html?filmId=${film.filmId}'">
                                       <%-- 电影标题字符若超过9个字符则添加省略号 --%>
                                       <%--<c:choose>--%>
                                            <%--<c:when test="${fn:length(film.filmName) <= 9}">--%>
                                                ${film.filmName}
                                            <%--</c:when>--%>
                                            <%--<c:otherwise>--%>
                                                <%--${ fn:substring(film.filmName, 0, 9)}...--%>
                                            <%--</c:otherwise>--%>
                                       <%--</c:choose>--%>
                                    </a>
                                    </span><span class="sp2">${film.playNum}</span>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                    <div class="tab-content" id="tab-2" style="display: none;">
                        <ul>
                            <c:forEach items="${playNumFlimTypes}" var="film" begin="0" varStatus="filmIndex">
                                <%-- 设置网路播放路径最后一条数据 --%>
                                <c:set var="filmpath" value="${film.filmPathList[fn:length(film.filmPathList) - 1]}"/>
                                <%-- 早期录入的数据没有labeltitle字段，这里的if...else是容错处理 --%>
                                <c:choose>
                                    <c:when test="${filmpath.labelTitle != null && filmpath.labelTitle != ''}">
                                        <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                    </c:when>
                                    <c:otherwise>
                                        <c:set var="playnumber" value="第${film.filmPathList[fn:length(film.filmPathList) - 1].orderNum + 1}集"/>
                                    </c:otherwise>
                                </c:choose>
                                <li>
                                    <img src="/images/nub_${filmIndex.index + 1}.gif"/><span class="sp1">
                                    <a title="${film.filmName}" href="javascript:void(0);"
                                       onclick="location.href='/page/playFilm.html?filmId=${film.filmId}'">
                                        <c:choose>
                                            <c:when test="${fn:length(film.filmPathList) > 3}">
                                                <%-- 电影标题字符若超过9个字符则添加省略号 --%>
                                                <c:choose>
                                                    <c:when test="${fn:length(film.filmName) <= 9}">
                                                        ${film.filmName}
                                                    </c:when>
                                                    <c:otherwise>
                                                        ${ fn:substring(film.filmName, 0, 9)}...
                                                    </c:otherwise>
                                                </c:choose>
                                                <label title="点击播放${playnumber}">更新至${playnumber}</label>
                                            </c:when>
                                            <c:otherwise>
                                                ${film.filmName}
                                            </c:otherwise>
                                        </c:choose>
                                    </a>
                                    </span><span class="sp2">${film.playNum}</span>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                    <div class="tab-content" id="tab-3" style="display: none;">
                        <ul>
                            <c:forEach items="${playNumTVs}" var="film" begin="0" varStatus="filmIndex">
                                <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                <li>
                                    <img src="/images/nub_${filmIndex.index + 1}.gif"/><span class="sp1">
                                    <a title="${film.filmName}" href="javascript:void(0);"
                                       onclick="location.href='/page/playFilm.html?filmId=${film.filmId}'">
                                       <%-- 电影标题字符若超过9个字符则添加省略号 --%>
                                        <c:choose>
                                            <c:when test="${fn:length(film.filmName) <= 9}">
                                                ${film.filmName}
                                            </c:when>
                                            <c:otherwise>
                                                ${ fn:substring(film.filmName, 0, 9)}...
                                            </c:otherwise>
                                        </c:choose>
                                       <label title="点击播放${playnumber}">更新至${playnumber}</label>
                                    </a>
                                    </span><span class="sp2">${film.playNum}</span>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                    <div class="tab-content" id="tab-4" style="display: none;">
                        <ul>
                            <c:forEach items="${playNumGames}" var="film" begin="0" varStatus="filmIndex">
                                <c:set var="playnumber" value="${film.filmPathList[fn:length(film.filmPathList) - 1].labelTitle}"/>
                                <li>
                                    <img src="/images/nub_${filmIndex.index + 1}.gif"/><span class="sp1">
                                    <a title="${film.filmName}" href="javascript:void(0);"
                                       onclick="location.href='/page/playFilm.html?filmId=${film.filmId}'">
                                            <%-- 电影标题字符若超过9个字符则添加省略号 --%>
                                        <c:choose>
                                            <c:when test="${fn:length(film.filmName) <= 9}">
                                                ${film.filmName}
                                            </c:when>
                                            <c:otherwise>
                                                ${ fn:substring(film.filmName, 0, 9)}...
                                            </c:otherwise>
                                        </c:choose>
                                       <label title="点击播放${playnumber}">更新至${playnumber}</label>
                                    </a>
                                    </span><span class="sp2">${film.playNum}</span>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                </div>

                <!-- ============================================================ 电影类型 begin ============================================================ -->
                <div class="nav_box2_t">
                    <div class="nav2_t_m"><div class="nav_title1"><font class="fot2">电影类型</font></div></div>
                    <div class="nav2_t_l"></div>
                    <div class="nav2_t_r"></div>
                </div>
                <div class="nav_box2_m">
                    <div class="box_type">
                        <ul>
                            <c:forEach items="${filmTypeList}" var="filmType">
                                <li>
                                    <a href="javascript:void(0);"
                                       onclick="javascript:location.href='/page/filmListByCondition.html?page=1&filmTypeId=${filmType.filmTypeId}';">${filmType.typeName}</a>
                                </li>
                            </c:forEach>
                        </ul>
                        <div class="nofloat"></div>
                    </div>
                </div>
                <div class="nav_box2_b">
                    <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                    <div class="nav2_b_l"></div>
                    <div class="nav2_b_r"></div>
                </div>
                <!-- ============================================================ 电影类型 end ============================================================ -->

                <!-- ============================================================ 高清推荐 begin ============================================================ -->
                <div class="nav_box mb10">
                    <div class="nav_box2_t">
                        <div class="nav2_t_m"><div class="nav_title1"><font class="fot2">高清推荐</font></div></div>
                        <div class="nav2_t_l"></div>
                        <div class="nav2_t_r"></div>
                    </div>

                    <div class="nav_box2_m">
                        <div class="video_box3">
                            <ul>
                                <c:forEach var="film" items="${clearFilmlist}">
                                    <li>
                                        <div class="img_box">
                                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                                <img src="${film.mimagePath}" width="90" height="68" class="img_bod" />
                                            </a>
                                        </div>
                                        <div class="box_r">
                                            <h3 class="title_h3">
                                                <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">${film.filmName}</a>
                                            </h3>
                                        </div>
                                    </li>
                                </c:forEach>
                            </ul>
                            <div class="nofloat"></div>
                        </div>
                    </div>

                    <div class="nav_box2_b">
                        <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                        <div class="nav2_b_l"></div>
                        <div class="nav2_b_r"></div>
                    </div>
                </div>
                <!-- ============================================================ 高清推荐 end ============================================================ -->

                <!-- 点击排行榜 -->
                <div class="nav_box mb10">
                    <div class="nav_box">
                         <div class="nav_box2_t">
                             <div class="nav2_t_m"><div class="nav_title1"><font class="fot2">上升最快</font></div></div>
                             <div class="nav2_t_l"></div>
                             <div class="nav2_t_r"></div>
                         </div>

                         <div class="nav_box2_m">
                             <div class="contmain" id="hot_rbt">
                                 <ul class="item_ul_list" >
                                     <c:forEach items="${upFastFilmList}" var="roundFilm" begin="0" varStatus="round">
                                         <li id="itemSimple_${round.index + 1}c" style="display:${round.index == 0 ? 'none' : 'block'};" onmouseover="showDetail(this,'hot_rbt')">
                                                 ${round.index + 1}.&nbsp;${roundFilm.filmName}
                                         </li>
                                         <li class="itemTaila" id="itemDetail_${round.index + 1}c" style="display: ${round.index == 0 ? 'block' : 'none'};">
                                             <div class="img_box">
                                                 <a href="/page/playFilm.html?filmId=${roundFilm.filmId}"><img src="${roundFilm.mimagePath}" width="80" height="60" class="img_bod" /></a>
                                             </div>
                                             <div class="item_texta">
                                                 <h3 class="mytitle"><a href="/page/playFilm.html?filmId=${roundFilm.filmId}">${roundFilm.filmName}</a></h3>
                                                 <div class="tatol"><span class="sp1">${roundFilm.playNum}</span><span class="sp2">${fn:length(roundFilm.filmDiscussList)}</span></div>
                                                 <div class="tatol">上映年份: <a href="/page/filmListByCondition.html?page=1&showTime=${roundFilm.showTime}">${roundFilm.showTime}</a></div>
                                             </div>
                                         </li>
                                     </c:forEach>
                                 </ul>
                                 <div class="nofloat"></div>
                             </div>
                         </div>

                         <div class="nav_box2_b">
                             <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                             <div class="nav2_b_l"></div>
                             <div class="nav2_b_r"></div>
                         </div>
                     </div>

                </div>

                <!-- ============================================================ 热门标签 begin ============================================================ -->
                <div class="nav_box mb10">
                    <div class="nav_box2_t">
                        <div class="nav2_t_m"><div class="nav_title1"><font class="fot2">热门标签</font></div></div>
                        <div class="nav2_t_l"></div>
                        <div class="nav2_t_r"></div>
                    </div>
                    <div class="nav_box2_m">
                        <div class="hot_tags">
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[0].keyword}'));"
                               class="less_click">${hotKeywordList[0].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[1].keyword}'));"
                               class="normal_click">${hotKeywordList[1].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[2].keyword}'));"
                               class="top03_click">${hotKeywordList[2].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[3].keyword}'));"
                               class="top03_click">${hotKeywordList[3].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[4].keyword}'));"
                               class="normal02_click">${hotKeywordList[4].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[5].keyword}'));"
                               class="least_click">${hotKeywordList[5].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[6].keyword}'));"
                               class="normal_click">${hotKeywordList[6].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[7].keyword}'));"
                               class="least_click">${hotKeywordList[7].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[8].keyword}'));"
                               class="top01_click">${hotKeywordList[8].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[9].keyword}'));"
                               class="normal02_click">${hotKeywordList[9].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[10].keyword}'));"
                               class="top02_click">${hotKeywordList[10].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[11].keyword}'));"
                               class="top03_click">${hotKeywordList[11].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[12].keyword}'));"
                               class="top02_click">${hotKeywordList[12].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[13].keyword}'));"
                               class="normal_click">${hotKeywordList[13].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[14].keyword}'));"
                               class="top03_click">${hotKeywordList[14].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[15].keyword}'));"
                               class="top03_click">${hotKeywordList[15].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[16].keyword}'));"
                               class="less_click">${hotKeywordList[16].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[17].keyword}'));"
                               class="normal02_click">${hotKeywordList[17].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[18].keyword}'));"
                               class="least_click">${hotKeywordList[18].keyword}</a>
                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/filmListByCondition.html?page=1&searchKey=' + encodeURI(encodeURI('${hotKeywordList[19].keyword}'));"
                               class="top03_click">${hotKeywordList[19].keyword}</a>
                        </div>
                    </div>
                    <div class="nav_box2_b">
                        <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                        <div class="nav2_b_l"></div>
                        <div class="nav2_b_r"></div>
                    </div>
                </div>
                <!-- ============================================================ 热门标签 end ============================================================ -->

                <!-- ============================================================ 午夜影院 begin ============================================================ -->
                <div class="nav_box mb10">
                    <div class="nav_box2_t">
                        <div class="nav2_t_m"><div class="nav_title1"><font class="fot2">午夜影院</font></div></div>
                        <div class="nav2_t_l"></div>
                        <div class="nav2_t_r"></div>
                    </div>
                    <div class="nav_box2_m">
                        <div class="video_box3">
                            <ul>
                                <c:forEach items="${sexFilmList}" var="film">
                                    <li>
                                        <div class="img_box">
                                            <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                                <img src="${film.mimagePath}" width="90" height="68" class="img_bod" />
                                            </a>
                                        </div>
                                        <div class="box_r">
                                            <h3 class="title_h3">
                                                <a href="javascript:void(0);" onclick="javascript:location.href='/page/playFilm.html?filmId=${film.filmId}';">
                                                    ${film.filmName}
                                                </a>
                                            </h3>
                                        </div>
                                    </li>
                                </c:forEach>
                            </ul>

                            <div class="nofloat"></div>
                        </div>
                    </div>

                    <div class="nav_box2_b">
                        <div class="nav2_b_m"><div class="nav_box_bl1"></div></div>
                        <div class="nav2_b_l"></div>
                        <div class="nav2_b_r"></div>
                    </div>
                </div>
                <!-- ============================================================ 午夜影院 end ============================================================ -->
            </div>
            <div class="nofloat"></div>
        </div>

        <!-- 置顶按钮 -->
        <a class="scrollTop" href="javascript:void(window.scroll(0,0));" hidefocus="true" style="display: block;"> </a>

        <!-- 友情链接页面 -->
        <jsp:include page="links.jsp"></jsp:include>

        <!-- 页脚 -->
		<jsp:include page="footer.jsp"></jsp:include>

    </div>

</body>
</html>